package com.accp.vehiclecare.action.lscaction;

import com.accp.vehiclecare.biz.lscbiz.LscvehicletypeBiz;
import com.accp.vehiclecare.pojo.Vehicletype;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/c/lscvetype")
public class LscvehicletypeAction {
    @Autowired
    private LscvehicletypeBiz biz;

    @GetMapping("all")
    public List<Vehicletype> querall(){
        return biz.querall();
    }
}
